summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Gutenschwager <spam.saikai@googlemail.com>2023-01-18 15:49:47 +0100
committerJonas Gutenschwager <spam.saikai@googlemail.com>2023-01-18 15:49:47 +0100
commit887ed5c0e2afa0fe4ef373ee676e197e62570e66 (patch)
tree93af8393b3657fd8f246ce80d2aa1257d4eb95ad
parentallow volume up/down hotkeys to be repeated (diff)
downloadyuzu-887ed5c0e2afa0fe4ef373ee676e197e62570e66.tar
yuzu-887ed5c0e2afa0fe4ef373ee676e197e62570e66.tar.gz
yuzu-887ed5c0e2afa0fe4ef373ee676e197e62570e66.tar.bz2
yuzu-887ed5c0e2afa0fe4ef373ee676e197e62570e66.tar.lz
yuzu-887ed5c0e2afa0fe4ef373ee676e197e62570e66.tar.xz
yuzu-887ed5c0e2afa0fe4ef373ee676e197e62570e66.tar.zst
yuzu-887ed5c0e2afa0fe4ef373ee676e197e62570e66.zip
-rw-r--r--src/yuzu/configuration/config.cpp3
-rw-r--r--src/yuzu/hotkeys.cpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp
index 4a60bf9f3..fd3bb30e1 100644
--- a/src/yuzu/configuration/config.cpp
+++ b/src/yuzu/configuration/config.cpp
@@ -756,8 +756,7 @@ void Config::ReadShortcutValues() {
{ReadSetting(QStringLiteral("KeySeq"), shortcut.keyseq).toString(),
ReadSetting(QStringLiteral("Controller_KeySeq"), shortcut.controller_keyseq)
.toString(),
- shortcut.context,
- ReadSetting(QStringLiteral("Repeat"), shortcut.repeat).toBool()}});
+ shortcut.context, ReadSetting(QStringLiteral("Repeat"), shortcut.repeat).toBool()}});
qt_config->endGroup();
qt_config->endGroup();
}
diff --git a/src/yuzu/hotkeys.cpp b/src/yuzu/hotkeys.cpp
index 091336528..6530186c1 100644
--- a/src/yuzu/hotkeys.cpp
+++ b/src/yuzu/hotkeys.cpp
@@ -21,8 +21,7 @@ void HotkeyRegistry::SaveHotkeys() {
{hotkey.first, group.first,
UISettings::ContextualShortcut({hotkey.second.keyseq.toString(),
hotkey.second.controller_keyseq,
- hotkey.second.context,
- hotkey.second.repeat})});
+ hotkey.second.context, hotkey.second.repeat})});
}
}
}